package com.gambi.example.client.chatter.model;

import java.util.ArrayList;
import java.util.List;

public class ContactList {
	private Contact me;
	private List contacts = new ArrayList();

	public ContactList(String name) {
		me = new Contact(name);
	}

	public Contact getMe() {
		return me;
	}

	public void addContact(Contact contact) {
		contacts.add(contact);
	}

	public int getContactCount() {
		return contacts.size();
	}

	public Contact getContact(int index) {
		return (Contact) contacts.get(index);
	}
}
